package com.alameda.base.bo;

import com.alameda.base.enums.CommonTableEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * 通用后端业务对象
 *
 * @author Lv
 * @date 2024/02/27
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "CommonDTO", description = "通用后端业务对象")
public class CommonBackBO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * id集合
     */
    @ApiModelProperty(value = "id集合")
    private List<Long> idList;

    /**
     * 数据表信息
     */
    @ApiModelProperty(value = "数据表信息")
    private CommonTableEnum tableEnum;
}
